/**
 * Copyright © Copyright Kevin Doyle 2012 Rhebogue Road,Limerick, Ireland.
 * Contact me at kfrdoyle@gmail.com
 * This software was created by me Kevin Doyle in 07/03/2012.
 * I made is available to the public on 07/03/2012.
 * You need my permission to use this software in a commercial context.
 * Although this code is hosted on google code I do not agree with the licensing policy
 * of google code. 
 */
package way_point_factory;

/**
 *
 * @author Kevin Doyle
 */
public class ExocetWPFactory extends WayPointFactory {

    @Override
    WayPoint createWP(String category) {
        switch (category) {
            case "FinalWP":
                return new FinalWP(category);
            case "InitialWP":
                return new InitialWP(category);
            case "JinkWP":
                return new JinkWP(category);
            case "MajorWP":
                return new MajorWP(category);
            case "MinorWP":
                return new MinorWP(category);
            default:
                return null;
        }
    }
}
